export default{
	data(){
		return {
			customHeader:null,
			screenWidth:0,
		}
	},
	onReady(){
		uni.getSystemInfo({
			success:(e)=>{
				this.screenWidth=e.screenWidth;
				this.customHeader=uni.getMenuButtonBoundingClientRect();
				let menuRightGap=this.screenWidth-this.customHeader.right
				this.customHeader.menuRightGap=menuRightGap
				
			}
		})
	}
}